/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.cms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.cms.entity.HomePicture;
import com.thinkgem.jeesite.modules.cms.dao.HomePictureDao;

/**
 * 首页滚动图添加Service
 * @author 张朋
 * @version 2016-10-16
 */
@Service
@Transactional(readOnly = true)
public class HomePictureService extends CrudService<HomePictureDao, HomePicture> {

	public HomePicture get(String id) {
		return super.get(id);
	}
	
	public List<HomePicture> findList(HomePicture homePicture) {
		return super.findList(homePicture);
	}
	
	public Page<HomePicture> findPage(Page<HomePicture> page, HomePicture homePicture) {
		return super.findPage(page, homePicture);
	}
	
	@Transactional(readOnly = false)
	public void save(HomePicture homePicture) {
		super.save(homePicture);
	}
	
	@Transactional(readOnly = false)
	public void delete(HomePicture homePicture) {
		super.delete(homePicture);
	}
	
}